package dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import domain.Music;

@Repository
public interface MusicDAO {
	//查询
	public List<Music> listAll(@Param("currentPage") Integer startPage, @Param("pageSize") Integer pageSize);
	
	//添加音乐
	public Integer addMusic(Music music);
	
	//删除音乐
	public Integer deleteMusic(Long id);
}
